/*
 * @Description: 
 * @Author: zoe
 * @Date: 2024-09-13 17:34:18
 * @LastEditors: rendc
 * @LastEditTime: 2024-09-13 17:34:18
 */
public class SingletonDemo {
    public static void main(String[] args) {
        // 获取单例对象
        Singleton singleton = Singleton.getInstance();

        // 调用示例方法
        singleton.displayMessage();
    }
}
